<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>欢迎莅临 ZENBOSS白板</title>
<link href="/storage/css/default_small.css" rel="stylesheet" type="text/css" />
<style>
.login_box{
	float:left;
	border:2px solid #ccc;
	width:165px;
	height:auto;
	padding:20px;
	}
.txt_input{
	width:250px;
	border:1px solid #bbb;
	padding:2px;
	}
</style>
<script type="text/javascript" src="/storage/js/common.js"></script>
<script type="text/javascript" src="/storage/js/mootools.js"></script>
<script type="text/javascript">
function change_v(id){
	var v_obj=document.getElementById(id);
	v_obj.style.backgroundImage="url(/tools.php?do=v&"+Math.random()+")";
//	v_obj.style.paddingLeft="40px";
//	
//	v_obj.style.width='110px';
//alert('ddddeeddd');
}
function show_submit_div(){
	var sd = document.getElementById('submit_div');

	if(sd.style.display=='none'){
		sd.style.display='block';
		
	}else{
		sd.style.display='none';
	}
	
}


function show_topic(topic_id){
	var obj = document.getElementById('div_'+topic_id);
//	alert(parseInt(obj.style.width));
	if(parseInt(obj.style.width)<900 || isNaN(parseInt(obj.style.width))){
		document.getElementById('topic_block_'+topic_id).style.float='none';
		var obj = new Fx.Style('div_'+topic_id,'width',{duration:600});
		obj.start(449,925);
		var obj = new Fx.Style('div_'+topic_id,'height',{duration:1000});
		obj.start(0,925);
	}else{
		var obj = new Fx.Style('div_'+topic_id,'width',{duration:600});
		obj.start(925,449);	
//	var obj = new Fx.Style('div_'+topic_id,'height',{duration:1000});
//	obj.start(925,0);
	document.getElementById('div_'+topic_id).style.height='auto';
	}
}

function hidden_div(id){
	var div = document.getElementById('div_'+id);
	if(div.style.position=='absolute'){
		div.style.position='static ';
		
	}else{
		div.style.position='absolute';
	}
	
}

</script>

</head>
<body>

<?php include('head.php') ?>


<div class="body">
<?php $i=0; foreach ($__ITEMS['topic_arr'] as $topic):?>
	<div class="topic_div">
		<img src="<?php echo tools_pick_Value__($topic['topic_theme_pic'],'/storage/img/no_img.jpg') ?>" class="list_inner_img"/>
        <br />
    	<span style="font-size:16px;"><?php echo mb_substr($topic['topic_title'],0,15,PAGE_CHAR_SET) ?></span>
    	
    </div>

<?php $i++; endforeach; ?>





</div>


<?php include('foot.php') ?>
</body>
</html>
